<!DOCTYPE html>
<html>
 <head> 
  <meta charset="UTF-8" /> 
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <meta http-equiv="X-UA-Compatible" content="IE=11,IE=10,IE=9,IE=8" /> 
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" /> 
  <title>我的增改列表</title> 
  <meta name="apple-mobile-web-app-title" content="我的增改列表" /> 
  <link rel="icon" href="__PUBLIC__/static/diygw/static/img/favicon.ico" type="image/x-icon" /> 
  <link rel="shortcut icon" href="__PUBLIC__/static/diygw/static/img/favicon.ico" type="image/x-icon" /> 
  <meta name="mobile-web-app-capable" content="yes" /> 
  <meta name="apple-mobile-web-app-capable" content="yes" /> 
  <meta name="apple-mobile-web-app-status-bar-style" content="black" /> 
  <meta name="apple-mobile-web-app-title" content="HTML我帮您" /> 
  <link href="__PUBLIC__/static/diygw/static/lib/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" /> 
  <link href="__PUBLIC__/static/diygw/static/lib/bootstrap/css/bootstrap-extend.css" rel="stylesheet" type="text/css" /> 
  <link href="__PUBLIC__/static/diygw/static/lib/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> 
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/diygw/static/lib/jquery-confirm/css/jquery-confirm.css" /> 
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/diygw/static/lib/bootstrapValidator/css/bootstrapValidator.css" /> 
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/diygw/static/lib/bootstrap-table/bootstrap-table.css" /> 
  <!--[if lt IE 9]>
    <script type="text/javascript" src="__PUBLIC__/static/diygw/static/lib/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/static/diygw/static/lib/respond/1.4.2/respond.min.js"></script>
  	<![endif]--> 
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/static/diygw/static/lib/jquery.js"></script> 
  <script charset="utf-8" type="text/javascript" src="__PUBLIC__/static/diygw/static/lib/underscore.js"></script> 
  <script charset="utf-8" type="text/javascript">
		_.templateSettings = {
			interpolate : /\$\{(.+?)\}/g,
			evaluate : /<%([\s\S]+?)%>/g
		};
  		window.UEDITOR_HOME_URL = "__PUBLIC__/static/diygw/static/lib/ueditor/";
		window.UEDITOR_SERVER_URL = "/ueditor/index";
	</script> 
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/static/diygw/static/lib/ueditor/ueditor.config.js"></script> 
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/static/diygw/static/lib/ueditor/ueditor.all.js"> </script> 
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/static/diygw/static/lib/ueditor/lang/zh-cn/zh-cn.js"></script> 
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/static/diygw/static/lib/bootstrap/js/bootstrap.js"></script> 
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/static/diygw/static/lib/jquery-confirm/js/jquery-confirm.js"></script> 
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/static/diygw/static/lib/bootstrap/js/bootstrap-extend.js"></script> 
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/static/diygw/static/lib/jquery.form.js"></script> 
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/static/diygw/static/lib/bootstrapValidator/js/bootstrapValidator.js"></script> 
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/static/diygw/static/lib/bootstrap-table/bootstrap-table.js"></script> 
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/static/diygw/static/lib/bootstrap-table/locale/bootstrap-table-zh-CN.js"></script> 
 </head> 
 <body> 
  <div id="container" class="container"> 
   <div id="toolbar792400"> 
    <textarea class="hide" id="columns792400">[{&quot;field&quot;:&quot;user_id&quot;,&quot;id&quot;:&quot;id_464947_2&quot;,&quot;title&quot;:&quot;创建人&quot;,&quot;label&quot;:&quot;创建人&quot;,&quot;parentid&quot;:&quot;form464947&quot;,&quot;dashboard_id&quot;:14,&quot;form_id&quot;:464947,&quot;type&quot;:&quot;0&quot;,&quot;checked&quot;:true},{&quot;field&quot;:&quot;create_time&quot;,&quot;id&quot;:&quot;id_464947_3&quot;,&quot;title&quot;:&quot;创建时间&quot;,&quot;label&quot;:&quot;创建时间&quot;,&quot;parentid&quot;:&quot;form464947&quot;,&quot;dashboard_id&quot;:14,&quot;form_id&quot;:464947,&quot;type&quot;:&quot;0&quot;,&quot;checked&quot;:true},{&quot;field&quot;:&quot;name_707696&quot;,&quot;id&quot;:&quot;434&quot;,&quot;title&quot;:&quot;标题&quot;,&quot;label&quot;:&quot;标题&quot;,&quot;parentid&quot;:&quot;form464947&quot;,&quot;dashboard_id&quot;:14,&quot;form_id&quot;:464947,&quot;type&quot;:&quot;1&quot;,&quot;checked&quot;:true},{&quot;field&quot;:&quot;name_555161&quot;,&quot;id&quot;:&quot;435&quot;,&quot;title&quot;:&quot;标题&quot;,&quot;label&quot;:&quot;标题&quot;,&quot;parentid&quot;:&quot;form464947&quot;,&quot;dashboard_id&quot;:14,&quot;form_id&quot;:464947,&quot;type&quot;:&quot;1&quot;,&quot;checked&quot;:true},{&quot;field&quot;:&quot;name_583107&quot;,&quot;id&quot;:&quot;436&quot;,&quot;title&quot;:&quot;封面&quot;,&quot;label&quot;:&quot;封面&quot;,&quot;parentid&quot;:&quot;form464947&quot;,&quot;dashboard_id&quot;:14,&quot;form_id&quot;:464947,&quot;type&quot;:&quot;1&quot;,&quot;checked&quot;:true},{&quot;field&quot;:&quot;id&quot;,&quot;id&quot;:&quot;id_464947_1&quot;,&quot;title&quot;:&quot;编号&quot;,&quot;label&quot;:&quot;编号&quot;,&quot;parentid&quot;:&quot;form464947&quot;,&quot;dashboard_id&quot;:14,&quot;form_id&quot;:464947,&quot;type&quot;:&quot;0&quot;,&quot;checked&quot;:false,&quot;hidekey&quot;:&quot;1&quot;,&quot;visible&quot;:false,&quot;cardVisible&quot;:false}]</textarea> 
    <textarea class="hide" id="links792400">{}</textarea> 
    <div class="btn-group"> 
     <button id="add792400" href="page229430" class="btn btn-primary"> <i class="glyphicon glyphicon-plus"></i>增加 </button> 
     <button id="edit792400" data-formid="464947" data-dashboardid="14" href="page229430" class="btn btn-primary" disabled=""> <i class="glyphicon glyphicon-edit"></i>编辑 </button> 
     <button id="remove792400" class="btn btn-danger" disabled=""> <i class="glyphicon glyphicon-remove"></i>删除 </button> 
    </div> 
   </div> 
   <table id="table792400" class="table" data-toggle="table" data-toolbar="#toolbar792400" data-search="false" data-show-refresh="true" data-show-toggle="true" data-show-columns="true" data-pagination="true" data-id-field="id_464947_1" data-page-list="[10, 25, 50, 100]" data-query-params="queryParams792400" data-content-type="application/x-www-form-urlencoded;charset=utf-8" data-method="post" data-side-pagination="server" data-url="/data/data.html"> 
    <thead> 
     <tr> 
      <th data-field="state" data-checkbox="true"></th> 
      <th data-field="id_464947_2">创建人</th> 
      <th data-field="id_464947_3">创建时间</th> 
      <th data-field="name_707696">标题</th> 
      <th data-field="name_555161">标题</th> 
      <th data-field="name_583107">封面</th> 
     </tr> 
    </thead> 
   </table> 
   <script type="text/javascript">
    var $table792400 = $('#table792400');
    var $remove792400 = $('#remove792400');
    var $edit792400 = $('#edit792400');
    var $add792400 = $('#add792400');
    $table792400.on('check.bs.table uncheck.bs.table ' + 'check-all.bs.table uncheck-all.bs.table', function() {
        $remove792400.prop('disabled', !$table792400.bootstrapTable('getSelections').length);
        $edit792400.prop('disabled', $table792400.bootstrapTable('getSelections').length != 1);
    });
    $edit792400.click(function() {
        var ids = getIdSelections792400();
        if (ids.length == 1) {
            var url = $(this).attr('href');
            url += ((url.indexOf('?') == -1) ? '?' : '&') + $.getParamData($(this), {
                id: ids[0],
                _ajax_edit_page: '1'
            });
            location.href = url;
        }
    });
    $add792400.click(function() {
        var url = $(this).attr('href');
        location.href = url;
    });
    $remove792400.click(function() {
        var ids = getIdSelections792400();
        $.ajax({
            type: "post",
            dataType: 'json',
            url: '/data/remove.html',
            data: {
                field: 'id_464947_1',
                formid: '464947',
                dashboardid: '14',
                values: ids
            },
            beforeSend: function() {
                jc = $.dialog({
                    title: '温馨提示',
                    content: '正在删除数据，请等待...'
                })
            },
            success: function(result) {
                if (jc) {
                    jc.close()
                }
                $.confirm({
                    keyboardEnabled: true,
                    title: '温馨提示',
                    content: result.message,
                    confirmButton: false,
                    columnClass: 'col-xs-4 col-xs-offset-4',
                    autoClose: 'cancel|2000',
                    buttons: {
                        cancel: {
                            btnClass: 'btn-primary',
                            text: '确定',
                        }
                    }
                });
                if (result.status == true || result.status == 'true' || result.status == 'success') {
                    $table792400.bootstrapTable('refresh');
                    $remove792400.prop('disabled', true);
                }
            }
        });
    });

    function getIdSelections792400() {
        return $.map($table792400.bootstrapTable('getSelections'), function(row) {
            return row[$table792400.data("id-field")]
        });
    }

    function queryParams792400(params) {
        params.columns = $("#columns792400").val();
        params.links = $("#links792400").val();
        return params;
    }
</script> 
  </div> 
  <div class="hide">
   <script type="text/plain" id="upload_ue" name="upload_ue"></script>
  </div>   
 </body>
</html>